// page/sign/sex.js
Page({
  data: {
    sex: ""
  },
  radioChange: function (e) {
      var that = this;
      console.log('radio发生change事件，携带value值为：', e.detail.value)
      if (e.detail.value == 'man') {
          that.setData({
              sex: '男'
          })
      } else {
          that.setData({
              sex: '女'
          })
      }
      wx.setStorage({
          key: 'sex',
          data: that.data.sex,
          success: function () {
              wx.navigateBack()
          }
      })
  },
})